package com.study.lxy.classloader;

import com.study.lxy.proxy.HelloInvocationHandler;

public class HotReplaceClassLoader extends ClassLoader {

    public HotReplaceClassLoader(){
        super(HotReplaceClassLoader.class.getClassLoader());
    }

    public Class loadBytes(byte[] classBytes){
        return defineClass(null, classBytes, 0, classBytes.length);
    }

}
